package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 未读消息数对象 sys_unread_count
 *
 * @author qyb
 * @date 2023-12-26
 */
public class UnreadCount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long uuid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 未阅读消息数 */
    @Excel(name = "未阅读消息数")
    private Long unreadCount;

    public void setUuid(Long uuid)
    {
        this.uuid = uuid;
    }

    public Long getUuid()
    {
        return uuid;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUnreadCount(Long unreadCount)
    {
        this.unreadCount = unreadCount;
    }

    public Long getUnreadCount()
    {
        return unreadCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("userId", getUserId())
            .append("unreadCount", getUnreadCount())
            .toString();
    }
}
